package com.atguigu.controller;

import com.atguigu.service.UserService;
import com.atguigu.service.impl.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/12/18 18:56
 * @注释
 */
@Controller
public class UserController {

    @Autowired
    private UserServiceImpl userServiceImpl;

    public void saveService(){
        System.out.println("Controller");
        userServiceImpl.saveDao();
    }
}
